package cn.wolfcode.luowowo.gold.domain;

import lombok.Getter;
import lombok.Setter;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * @author 猫教授
 * @date 2019/8/24 17:25
 */
@Setter
@Getter
@Document("GoldProductDetail")
public class GoldProductDetail implements Serializable {
    @Id  //文档id
    private String id;  //mongodb默认的是id
    private Long productId;
    private List<String> detail=new ArrayList<>();  //攻略(明细)id
}
